home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 1 / Cream of the Crop 1.iso / UTILITY / RCD151.ARJ / RCD.DOC < prev    next >
Text File  |  1992-02-26  |  14KB  |  411 lines

  1.  
  2.  
  3.                 RCD version 1.5
  4.                 (Ray's Change Directory)
  5.             
  6.                by Ray Van Tassle
  7.                1020 Fox Run Lane
  8.              Algonquin, Ill, 60102
  9.                 (708)-658-4941
  10.                February 7, 1992
  11.  
  12.     RCD program and manual copyright(c) 1990-1992 by Ray Van Tassle.
  13.  
  14.     Abstract: 
  15.     
  16.     RCD is a set of programs to let you change the default 
  17.     disk/directory quickly & easily, in a "do what I mean" manner.  
  18.     You can specify all or part of the name of the directory you 
  19.     want to go to, and RCD will do it's best to figure out which 
  20.     directory you mean, and on which disk.  And with the 
  21.     new systems being delivered with 100+ MB disks standard, you can 
  22.     potentially have a lot of drives, both physical & logical 
  23.     (drives in DOS extended partitions, and in STACKER & SPEEDSTOR 
  24.     compressed volumes).
  25.     
  26.     RCD is a companion (but totally independent) program to WIZ, my
  27.     lightning fast file finder.
  28.     
  29.  
  30.     RCD is shareware, NOT freeware!!!
  31.  
  32.     You are granted a limited 21 day evaluation license. At the end
  33.     of that period, you should either delete it and stop using it,
  34.     or send in the registration fee of $15.
  35.  
  36.  
  37.     QUICK-START
  38.     -----------
  39.     For a quick start, so you don't have to read this manual, 
  40.     execute "RCDSCAN".
  41.     
  42.     Then you can change to ANY directory on any disk by typing "RCD" 
  43.     and all or part of the desired directory name.
  44.  
  45.  
  46.     ACKNOWLEDGEMENTS--and COMPARISION TO OTHER PROGRAMS
  47.     ---------------------------------------------------
  48.     
  49.     Norton's NCD gave me the initial idea for writing RCD, along 
  50.     with ideas on improvement.  NCD will only work on the current 
  51.     disk; it has a spiffy user display, but I consider it quite 
  52.     limited in terms of looking at other disks, and weak in finding 
  53.     approximate matches on directory names.  Ledbetter's LCD is 
  54.     similar in function to RCD, but isn't quite as powerful in 
  55.     matching, is quite a bit slower in building the index (SCAN), 
  56.     and chokes on network drives that are configured, but off-line 
  57.     (I use both $25NETWORK & Fastlynx's EBOX).
  58.     
  59.     Time to build index (483 directories on 10 partitions (drives), no
  60.     disk cache, 7 MHZ 286):
  61.         RCDSCAN v1.5    LCD v4.00a    NCD v4.50
  62.         ------------    ----------    ---------
  63.         17 seconds    130 seconds    170 seconds
  64.         
  65.     LCD does have the capability to do a MD & RD within itself, and
  66.     make the corresponding change in the index file, but this must 
  67.     be invoked on the DOS command line; it doesn't work with 
  68.     directories created/deleted/renamed/moved internally within
  69.     other shells or utilities.  And RCDSCAN is so fast that it's not
  70.     a big burden to run it after modifying your directory structure.
  71.  
  72.  
  73.     Directory ordering
  74.     ------------------
  75.     In my first cut at RCD, I didn't sort the directories, but just
  76.     displayed them in arbitrary order.  This was obnoxious, so I then
  77.     sorted them alphabetically, for each disk.  This is kind of like
  78.     NCD does it, and is exactly the way that LCD does it.  But I didn't
  79.     like that either--it seemed to me that all the directories named
  80.     "FOO" should be next to one another on the display, no matter what
  81.     disk they were on.  After thinking about it some more, a light
  82.     dawned:  a disk name is really a type of "super directory", especially
  83.     when you consider large (200MB +) disks divided into several logical
  84.     partitions.  It doesn't make any more sense to group them by disk than
  85.     it does to group them by parent-directory.
  86.     
  87.     So RCD sorts the directories strictly by name, no matter what the
  88.     parent directory is (be it disk or normal directory).
  89.         
  90.     
  91.     MANUAL
  92.     ------
  93.     RCD is two programs and one data file. The programs are:
  94.         RCDSCAN - Examines your disks, and builds a data-base
  95.               containing the directory & disk names.
  96.               
  97.         RCD    - The program to use in place of CD (or CDD)
  98.     
  99.         
  100.  
  101.     Command Line format and Switches
  102.     --------------------------------
  103.  
  104.     RCD [-?] [-p] [-r] [-l] [-m] [-w] directory-name
  105.  
  106.     As usual, the stuff inside the square brackets "[]" are
  107.     optional and may be present or omitted. You do NOT include
  108.     the brackets in your command line.
  109.     The various fields and options may appear in any order, in
  110.     either upper or lower case.
  111.     The switch character can be either "-" or "/".
  112.  
  113.  
  114.  
  115.     If you just invoke RCD without any parameters, it gives you a
  116.     brief help line and shows the current disk & directory.
  117.     For more info, include '-?'.  For even more,
  118.     include '-??'.
  119.  
  120.     The parameter is all or part of the name of the directory you
  121.     want to switch to.  RCD uses the full (better than DOS) wildcard
  122.     matching that WIZ uses:  you can put "*" anywhere, and it 
  123.     matches zero or more characters, "?" matches exactly one 
  124.     character.  RCD first looks for a directory name which is
  125.     exactly the same as the parameter.  If it does not find one, it 
  126.     looks for a directory that starts with what you gave.  If it 
  127.     does not find one, it then looks for a directory with the 
  128.     characters you gave ANYWHERE in the name.  To be more precise, 
  129.     if you said "RCD xyz", the patterns it uses for the match are:
  130.         1st try: "XYZ"
  131.         2nd try: "XYZ*"
  132.         3rd try: "*XYZ*"
  133.         
  134.     However, if you include any wildcard characters ("*" or "?"), 
  135.     then RCD will assume that you know what matching pattern you 
  136.     want, and will only do one try, using the exact pattern given.
  137.         
  138.     POPUP WINDOW
  139.     ------------
  140.     It is possible that RCD will find more than one directory that 
  141.     satisfies it (for example, I have sub-directories named TRY and 
  142.     TEMP all over my disk).  RCD will popup a scrolling window 
  143.     showing all the matching directory names.  The cursor will be 
  144.     positioned as follows: If the current directory is NOT a match, 
  145.     the cursor will be on the first line. If the current directory 
  146.     IS a match, then the cursor will be on the next line after the 
  147.     current directory.
  148.     
  149.     You can scroll thru the list using the UP/DOWN arrows, and
  150.     PAGEUP, PAGEDOWN, HOME, and END.  Hit ENTER to switch to the
  151.     highlighted directory. Hit ESC or CTRL/C to bail out.
  152.     
  153.     RCD recognizes when your display is set for more than 25 lines
  154.     (43, 50, or other), and adjusts the number of lines in the window
  155.     appropriately.
  156.     
  157.     
  158.  
  159.      -l    Leaf directory
  160.      --------------------
  161.     This switch says to only consider a directory that is a leaf 
  162.     (does not have any sub-directories below it).
  163.     
  164.     -p    Parent directory
  165.     ----------------------
  166.     This is the opposite of -l.  It says to only consider a 
  167.     directory if it DOES have at least one sub-directory.
  168.     
  169.     -r    Root directory
  170.     --------------------
  171.     This says to only consider a directory if it is at the highest 
  172.     level--it's in the root directory of a disk.
  173.  
  174.     -m    Monochrome display
  175.     ------------------------
  176.     Use this to force a black & white display window.  You may also
  177.     force mono by putting "/m" in the WIZ environment variable.    
  178.     
  179.     -w    Don't do popup window
  180.     ---------------------------
  181.     Don't do a popup window if there are several matching 
  182.     directories.  Instead, just switch to the "next" directory 
  183.     (according to the rules of positioning the cursor discussed 
  184.     above.)  If you re-execute the exact same RCD command, it will 
  185.     step thru all the matching directories in sequence.
  186.     
  187.     
  188.   *************************************************************************
  189.  
  190.     RCDSCAN [-v] [-?] [disks]
  191.     -----------------
  192.     You need to run RCDSCAN whenever you add, delete, move, or 
  193.     rename directories and/or drives.  It builds a data-base file
  194.     containing information about you disk and directory structure.
  195.     The data base is sorted in alphabetical order, so when RCD shows
  196.     several matching files, they will be in order, but by the name 
  197.     of the matching directory, NOT in tree order or in sorted order 
  198.     by directory level.
  199.     This file is: "C:\RCD.IDX"
  200.     
  201.     
  202.     Disk(s):
  203.     ---------------------------
  204.     You can specify the disk(s) you want it to scan, optionally
  205.     followed by ":".  It will look at those drives, in the order
  206.     you listed them.  If you list the same one twice, it will look
  207.     at it twice.  You can specify a range of disks by using a
  208.     dash--"C-F" is the same as "CDEF".
  209.  
  210.     If you don't list any disks, it will look at all drives 
  211.     beginning with C. It will stop when it hits a drive that it 
  212.     cannot read.
  213.  
  214.     Processing Disk(s) and Environment Variable 
  215.     -------------------------------------------
  216.     
  217.     You can override the disks that RCDSCAN looks at, and their 
  218.     order, by making an environment variable "WIZ".  Do: "SET 
  219.     WIZ=floppy-disk-list:hard-disk-list". Example: "SET WIZ=AB:C-M".  
  220.     What actually happens is that RCDSCAN will try to read all the 
  221.     disks to the left of the colon, then all those to the right of 
  222.     the colon.  Those on the left are deemed to be floppies, and 
  223.     will be ignored.  Those on the right are deemed to be hard 
  224.     drives, and it will quit on the first one that it can't read.
  225.  
  226.     You may omit the "default" disk set by leaving a space after
  227.     the "=".  This is most useful when you need only to put the
  228.     "/M" switch, as: "SET WIZ= /M".
  229.     
  230.     If you specify disks on the command line, it will try to read
  231.     them all, even if it can't read one.
  232.  
  233.     The list may be discontiguous, (e.g., "C-FL-M").  This is
  234.     mostly useful if you are on a network, which tends to make
  235.     the networked disks at the higher letters, and leaves a hole
  236.     before them.
  237.     
  238.  
  239.  
  240.     Pre-defined Drive Sets
  241.     ----------------------
  242.     You can actually have several pre-defined sets of disks to
  243.     search. If the disk-specifier on the command line is a single
  244.     digit (0-9), it will look for that specifier in the WIZ
  245.     variable.  For example, you might say:
  246.         "SET WIZ=AB:C-F  1=CDEG 2=AB:  3=C-Z 4=C-Z:"
  247.  
  248.     As above, those to the left of the colon are deemed floppies; 
  249.     those to the right are hard drives, and RCDSCAN will quit if it 
  250.     can't read one. However, if there isn't a colon, then they are 
  251.     ALL deemed to be hard drives.
  252.  
  253.     The command "RCDSCAN ", will look on ABCDEF.
  254.     The command "RCDSCAN 1:", will look on CDEF.
  255.     The command "RCDSCAN 2:", will look on AB.
  256.     The command "RCDSCAN 3:", will look on all drives C-Z (and
  257.         will quit at the first on that it can't read).
  258.     The command "RCDSCAN 4:", will look on all drives C-Z (and it
  259.         will attempt to read each and every one of them).
  260.     The command "RCDSCAN 9:", will give an error message.
  261.  
  262.  
  263.  
  264.  
  265.  
  266.     -v    Verbose
  267.     -------------
  268.     If you have this flag once, RCDSCAN will print the disk name when
  269.     it starts as it starts on a disk.  If you have it twice
  270.     (-vv), it will also print the name of each directory.
  271.     This is mostly useful for troubleshooting, or to see a 
  272.     progress indication.
  273.  
  274.             
  275.     
  276.     
  277.     It has been tested, and works, with DOS 3.x, including Zenith 
  278.     DOS 3.30, DOS 3.31, DOS 4.01, DOS 5.0, STACKER compressed 
  279.     pseudo-disks, and On-Track partitioning software.  DOS 3.31, 
  280.     4.01, and 5.0 have large (greater than 32MB) partitions with 
  281.     more than 65,536 sectors. Zenith DOS 3.30 and On-Track have 
  282.     large partitions by virtue of using large sectors (1024, 2048, 
  283.     or 4096 bytes, rather than 512 bytes).
  284.  
  285.     
  286.  
  287.     
  288.  
  289.     Error Messages
  290.     --------------
  291.         "Can't tell if FAT-12 or FAT-16. Assuming FAT-16!"
  292.         Just what it says.  I've only seen this on networked
  293.         disk drives.  If you know how to RELIABLY tell what
  294.         type of FAT a disk has (other than going thru DOS),
  295.         please let me know.
  296.  
  297.     "malloc failed for FAT_buf!"
  298.         Can't allocate memory to read a FAT block.  Most
  299.         likely an internal error.
  300.  
  301.      "malloc failed for dir_sec_buf!"
  302.         Can't allocate memory to read in a directory sector.
  303.         Most likely an internal error.
  304.  
  305.     "Sorry, out of memory!!!"
  306.         You lose.
  307.  
  308.     "Can't open file:"
  309.         Failure to open an archive file.  Most likely a disk
  310.         error. Run CHKDSK.
  311.  
  312.     "Non-existant directory, you should run RCDSCAN!"
  313.         A directory is in the data-base, but does not exist on
  314.         the disk.  It was probably renamed or deleted, but you
  315.         didn't run RCDSCAN after doing so.
  316.  
  317.     BUGS
  318.     ----
  319.     No known bugs.  However, RCDSCAN mostly does not use DOS to
  320.     process a disk, so errors on my part, or a change in the disk
  321.     structure might break it.
  322.  
  323.     If you are having problems, try 1) use the "-v" switch, to
  324.     isolate the error to a specific disk,  2) use "-vv", to see
  325.     as it hits each sub-directory.  Then call or write me.
  326.  
  327.  
  328.     Coming Attractions
  329.     ------------------
  330.     * Ability to create, delete, rename, and move directories.    
  331.     * Plus other things I think of, or get suggested.
  332.  
  333.     This is shareware, so I'm probably more interested and 
  334.     receptive in hearing comments and suggestions than a commercial 
  335.     software publisher would be.  Just send them in, or give me a 
  336.     call.  I can't promise to fix bugs, or add specific features, 
  337.     but I'll listen to everything.  Even if you're cheap and 
  338.     haven't registered.
  339.  
  340.     
  341.     BBS Support & New Versions
  342.     --------------------------
  343.     There is no "official" support BBS.  However, I frequent a couple
  344.     of local BBS's:
  345.         Chicken Coop (708)658-1545   RIMENET =>THECOOP
  346.         Emporium     (708)551-4275        
  347.         
  348.  
  349.     Update History
  350.     --------------
  351.  
  352.     1.4    Initial public release
  353.     
  354.     1.5    Changed to scrollable window display
  355.  
  356.  
  357.  
  358.  
  359.                            --------------------------
  360.                              INVOICE / REGISTRATION
  361.                            --------------------------
  362.  
  363.  
  364.  
  365.           Sold to: ___________________________________________________
  366.  
  367.                    ___________________________________________________
  368.  
  369.                    ___________________________________________________
  370.  
  371.  
  372.              Date: ______________________________
  373.  
  374.  
  375.           ============================================================
  376.  
  377.  
  378.  
  379.  
  380.           _____ copies of WIZ version ___ at $15 each $____________
  381.  
  382.           _____ copies of RCD version 1.5 at $15 each $____________
  383.  
  384.         DISCOUNT for registering both is
  385.         $5 off.  Total is $25 instead of $30    ____________
  386.  
  387.  
  388.  
  389.                                 TOTAL ENCLOSED.......  $____________
  390.  
  391.       Where did you get your copy of RCD?
  392.       Shareware distributor name:___________________
  393.       BBS name: ____________________
  394.       BBS phone #:  ____________________
  395.  
  396.  
  397.                       Send this invoice and your check to:
  398.  
  399.                 Ray Van Tassle
  400.                 1020 Fox Run Lane
  401.                 Algonquin, Il. 60102
  402.                 (708)-658-4941
  403.  
  404.  
  405.  
  406.  
  407.           =============================================================
  408.  
  409.           Thank you for your support ............... Ray Van Tassle
  410.  
  411.